module.exports = {
  publicPath: process.env.NODE_ENV === 'production' ? './' : '/',
  devServer: {
    proxy: {//启动代理
      '/': {
        target: 'http://localhost:3000',
        changeOrigin: true
      }
    }
  }
  ,
  configureWebpack: {
    resolve: {
      alias: {
        'components': '@/components',
        'content': '@/components/content',
        'common': '@/components/common',
        'assets': '@/assets',
        'network': '@/network',
        'views': '@/views',
        'layout': '@/layout',
        'mixin': '@/mixin',
        'utils': '@/utils',
        'player': '@/player'
      }
    }
  },
}